package entity;

import java.util.Date;

public class Product_Comment {
	private Integer comment_id;//评论ID
	private Integer product_id;//商品ID
	private Integer order_id;//订单ID
	private Integer user_id;//用户ID
	private String title;//评论标题
	private String content;//评论内容
	private Integer audit_status;//审核状态：0未审核，1已审核
	private Date audit_time;//评论时间
	private Date modified_time;//最后修改时间
	private Integer model_id;//评论ID

	public Integer getModel_id() {
		return model_id;
	}

	public void setModel_id(Integer model_id) {
		this.model_id = model_id;
	}

	private User_Inf user_inf;  //用户信息
	private Product_Info product_info;//商品信息
	private Warehouse_Product warehouse_product; //库存型号信息

	public Warehouse_Product getWarehouse_product() {
		return warehouse_product;
	}

	public void setWarehouse_product(Warehouse_Product warehouse_product) {
		this.warehouse_product = warehouse_product;
	}

	public User_Inf getUser_inf() {
		return user_inf;
	}

	public void setUser_inf(User_Inf user_inf) {
		this.user_inf = user_inf;
	}

	public Product_Info getProduct_info() {
		return product_info;
	}

	public void setProduct_info(Product_Info product_info) {
		this.product_info = product_info;
	}


	public Integer getComment_id() {
		return comment_id;
	}
	public void setComment_id(Integer comment_id) {
		this.comment_id = comment_id;
	}
	public Integer getProduct_id() {
		return product_id;
	}
	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}
	public Integer getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Integer order_id) {
		this.order_id = order_id;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getAudit_status() {
		return audit_status;
	}
	public void setAudit_status(Integer audit_status) {
		this.audit_status = audit_status;
	}
	public Date getAudit_time() {
		return audit_time;
	}
	public void setAudit_time(Date audit_time) {
		this.audit_time = audit_time;
	}
	public Date getModified_time() {
		return modified_time;
	}
	public void setModified_time(Date modified_time) {
		this.modified_time = modified_time;
	}
	
	public Product_Comment() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Product_Comment [comment_id=" + comment_id + ", product_id=" + product_id + ", order_id=" + order_id
				+ ", user_id=" + user_id + ", title=" + title + ", content=" + content + ", audit_status="
				+ audit_status + ", audit_time=" + audit_time + ", modified_time=" + modified_time + ", model_id="
				+ model_id + "]";
	}
	public Product_Comment(Integer product_id, Integer order_id, Integer user_id, String title, String content,
			Integer audit_status, Date audit_time, Date modified_time, Integer model_id) {
		super();
		this.product_id = product_id;
		this.order_id = order_id;
		this.user_id = user_id;
		this.title = title;
		this.content = content;
		this.audit_status = audit_status;
		this.audit_time = audit_time;
		this.modified_time = modified_time;
		this.model_id = model_id;
	}

}
